package at.chl.lution.creator;

import at.chl.genetic.function.request.IGeneticFunctionRequest;
import at.chl.genetic.function.result.IGeneticFunctionResult;
import at.chl.genetic.node.IDecisionNode;

public class BasicExpectedResultCreator implements IExpectedResultCreator {

	
	
	private IDecisionNode expectedDecisionTree;
	
	

	@Override
	public IGeneticFunctionResult getExpectedResult(IGeneticFunctionRequest request) {
		return expectedDecisionTree.evaluate(request);
	}

	public IDecisionNode getExpectedDecisionTree() {
		return expectedDecisionTree;
	}

	public void setExpectedDecisionTree(IDecisionNode expectedDecisionTree) {
		this.expectedDecisionTree = expectedDecisionTree;
	}

	

}
